import waves from './waves'

const install = function(Vue) {
	Vue.directive('waves', waves)
}

if (window.Vue) {
	window.waves = waves
	Vue.use(install) // eslint-disable-line
}

waves.install = install
export default waves
